//
//  SLAddressPickerView.h
//  SulitLoanDemo
//
//  Created by 虞嘉伟 on 2025/2/22.
//

#import "SLInformationAlertView.h"

NS_ASSUME_NONNULL_BEGIN

@interface SLAddressPickerView : SLInformationAlertView

@property (nonatomic, copy  ) NSArray *addressData;

@property (nonatomic, copy  ) void(^addressConfirmButtonCallback)(NSMutableArray<NSDictionary *> *address, NSMutableArray<NSNumber *> *indexs);

@end



@interface SLAddressPickerView (Fast)

+ (instancetype)showAddressChooseWithDefaultAddress:(NSMutableArray *)defaultAddress confirmCallback:(void(^)(NSMutableArray<NSDictionary *> *address, NSMutableArray<NSNumber *> *indexs))block;
+ (instancetype)showAddressChooseWithData:(NSArray *)arr confirmCallback:(void(^)(NSMutableArray<NSDictionary *> *select))block;
@end


NS_ASSUME_NONNULL_END
